package com.xingfu.mybatisdemo.persistence.dao;

import com.xingfu.mybatisdemo.persistence.po.SysUsers;
import com.xingfu.mybatisdemo.vo.UserVO;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

/**
 * @author nzx
 * @version 1.0
 * @date 2019/10/29
 * @description:
 **/
@Repository
public interface IUserDao {
    /**
     * 获取用户信息
     * @param userId
     * @return
     */
    UserVO getUser(Long userId);

    List<UserVO> getUserByPage();

    List<SysUsers> getAllUser();

    List<SysUsers> getUserByDate(String time);

    List<SysUsers> getUserforDate(Date date);
}
